package com.melody.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 点赞关系表
 * @TableName comment_likes
 */
@TableName(value ="comment_likes")
@Data
public class CommentLikes implements Serializable {
    /**
     * 点赞关系id
     */
    @TableId(value = "comment_likes_id")
    private Integer commentLikesId;

    /**
     * 关联用户信息
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 关联评论表
     */
    @TableField(value = "comment_id")
    private Integer commentId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    /**
     * 逻辑删除标记，0:未删除,1:已删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}